﻿using System;
using System.Collections.Generic;
using System.Linq;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Beauty
{
	public class cell_Services : UICollectionViewCell
	{
		UIImageView imageView;	
		public UIImage Image{ set { imageView.Image = value; } }
		[Export("initWithFrame:")]
		public cell_Services (System.Drawing.RectangleF frame) : base(frame)
		{
			BackgroundView = new UIView {	BackgroundColor = UIColor.Magenta };
			SelectedBackgroundView = new UIView { BackgroundColor = UIColor.Purple };
			ContentView.Layer.BorderColor = UIColor.DarkGray.CGColor;
			ContentView.Layer.BorderWidth = 1.0f;
			ContentView.BackgroundColor = UIColor.Gray;
			 
			imageView = new UIImageView (UIImage.FromFile ("mainmenu.png"));
			imageView.Center = ContentView.Center;
			ContentView.AddSubview (imageView);
		}
	}
}

